﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebUtils
{
    public interface IWebRequest
    {
        WebMethodVerbEnum Verb { get; }
        String Address { get; }
        IEnumerable<UnEncodedURLParameter> GetParameters { get; }
        /// <summary>
        /// these are only parameters that will be sent as the body of the request and only if the content-type will be set to application/x-www-form-urlencoded.
        /// If your content type will be anything else, leave this collection blank
        /// </summary>
        IEnumerable<UnEncodedURLParameter> PostParameters { get; }
        IEnumerable<Parameter> Headers { get; }
    }
}
